//
// Created by lqk on 2022/1/29.
//

#ifndef QUADCEREBELLUM_PERIODICTASKMANAGER_H
#define QUADCEREBELLUM_PERIODICTASKMANAGER_H

#include "PeriodicTask.h"
#include <vector>

class PeriodicTask;

class PeriodicTaskManager {
public:
    PeriodicTaskManager()=default;

    void AddTask(PeriodicTask* );
    //void RemoveTask(PeriodicTask* );
    void PrintAllStatus();
    void StopAllTasks();

    ~PeriodicTaskManager(){}
private:
    std::vector<PeriodicTask*> vp_tasks;

};


#endif //QUADCEREBELLUM_PERIODICTASKMANAGER_H
